package com.example.demo.service;

import com.example.demo.entity.Info;
import com.example.demo.entity.Report;
import com.example.demo.entity.User;

import java.util.List;

public interface AdminService {

    List<Info> findAllReport();

    Info findAReportInfo(int id);

    Report findAReportContent(int id);

    int deleteAInfo(int id);

    int bannedUser(String username);

    int unbannedUser(String username);

    List<User> findAllUnban();

    List<User> findAllBan();

    int deleteAReport(int id);
}
